package com.sujeet.learning.memorymanagement;

public class OutOfMemory2 {
	public static void main(String[] args) {
		StringBuffer sb = new StringBuffer();
		while (true) {
			OutOfMemory2 a = new OutOfMemory2();
			sb.append(a.toString());
			//System.out.println(sb);
		}
	}
}